Skip to content

driicarvalho7/SubControl_Web

Repository files navigation


Logo

SSC0961 - Desenvolvimento Web e Mobile

Este é um projeto para a matéria de Desenvolvimento Web e Mobile, o intuito desse aplicativo é ser um hub para o gerenciamento de assinaturas recorrentes que você usuário possui, como Netflix, Spotify, Prime Video e etc... Espero que goste! 😊



Expo APP + Node JS + MongoDB

This is an project that uses Expo to de client mobile app, NodeJS for the APIs that comunicate with de client and MongoDB for the database comunication. This is an exemple of the architecture of the Project:

Arquitetura do Sistema

Get started

  1. Install dependencies in the client and API's components

    cd ./sub_control_client
    npm install
    cd ./sub_control_api
    npm install
    cd ./sub_control_api_signatures
    npm install
  2. Start the client app

    cd ./sub_control_client
    npx expo start

    In the output, you'll find options to open the app in a

  1. Configure the .env file to the MongoDB string connection:

    MONGODB_URI=mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]
    
  2. Start the API's components

    cd ./sub_control_api
    npm start
    cd ./sub_control_api_signatures
    npm start

Git Flow

gitGraph
   commit id: "Initial Commit" tag: "main"
   branch development
   commit id: "Setup Project" tag: "development"
   
   # Adicionando as novas branches logo após a development
   branch tests
   commit id: "Add Initial Tests" tag: "tests"
   checkout development
   merge tests tag: "Merge Initial Tests"
   
   branch bug_fix
   commit id: "Fix Initial Bug" tag: "bug_fix"
   checkout development
   merge bug_fix tag: "Merge Bug Fix"
   
   branch updates
   commit id: "Update Initial Code" tag: "updates"
   checkout development
   merge updates tag: "Merge Updates"

   branch feature_telas_iniciais
   commit id: "Implement Initial Screens" tag: "feature_telas_iniciais"
   checkout development
   merge feature_telas_iniciais tag: "Merge Initial Screens"
   
   branch feature_api_login
   commit id: "Implement API Login" tag: "feature_api_login"
   checkout development
   merge feature_api_login tag: "Merge API Login"
   
   branch feature_api_signatures
   commit id: "Implement API Signatures" tag: "feature_api_signatures"
   checkout development
   merge feature_api_signatures tag: "Merge API Signatures"
   
   branch feature_jwt_auth
   commit id: "Implement JWT Auth" tag: "feature_jwt_auth"
   checkout development
   merge feature_jwt_auth tag: "Merge JWT Auth"

   # Adicionando a branch feature_calendar
   branch feature_calendar
   commit id: "Implement Calendar Feature" tag: "feature_calendar"
   checkout development
   merge feature_calendar tag: "Merge Calendar Feature"
   
   checkout main
   merge development tag: "Release"

Loading

Pipeline CI/CD

graph TD;
    A[Code Commit on 'main' branch] --> B(Build);
    B --> C(Test);
    C --> D(Code Quality Analysis with SonarCloud);
    D --> E(Deploy on Docker to Azure);
Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published